<%-- 
    Document   : AlterarDespesas
    Created on : 22/09/2008, 13:43:28
    Author     : 2006244090165
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri = "http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Listar Despesas</title>
    <style type="text/css">
        <!--
        .style1 {
            font-family: Times New Roman, Times, serif;
            background:black;
            
            
        }
        .style2 {
            
            position:absolute;
            top: 170px;
            left:8px;
            background:black;
            
        }
        .style3{
            
            height:600px;
            background:#87CEFF;
            
        }
        .body{
            
            background-repeat:repeat;
        }
        
        .texto {
            font-family:verdana,arial;
            text-decoration: none; 
            color:white;
            font-size: 12px
        }
        .texto:hover {
            font-family:verdana,arial;
            text-decoration: underline; 
            color: orange; 
            font-size: 10px
        }
        a.dcontexto{
            font-family:verdana,arial;
            text-decoration: none; 
            color:white;
            font-size: 12px;
            position:relative; 
            padding:0;
            border-bottom:2px dotted #039;
            cursor:help; 
            z-index:24;
        }
        a.dcontexto:hover{
            background:transparent;
            z-index:25; 
            font-family:verdana,arial;
            text-decoration: underline; 
            color: orange; 
            font-size: 10px
        }
        a.dcontexto span{display: none}
        a.dcontexto:hover span{ 
            display:block;
            position:absolute;
            width:230px; 
            top:3em;
            text-align:justify;
            left:0;
            font: 12px arial, verdana, helvetica, sans-serif; 
            padding:5px 10px;
            border:1px solid #999;
            background:#e0ffff; 
            color:#000;
        }
        -->
    </style>
</head>
<body  class="body" background="imagemDeFundo.jpg">
<center> <font size="3" face="arial" > <h1>Gasto Zero</h1></font></center><br/><br/><br/>

<div class="style1" >

<center>
<font ><a href="Menu.jsp" class="texto" >MENU</a></font>&nbsp;&nbsp;&nbsp;&nbsp;
<font ><a href="Categorias.jsp" class="dcontexto" >CATEGORIA<span><strong>CATEGORIA</strong>
Categoria de Despesas </strong>.</span></a></font>&nbsp;&nbsp;&nbsp;&nbsp;
<font ><a href="Subcategorias.jsp" class="dcontexto" >SUBCATEGORIAS<span><strong>SUBCATEGORIA</strong>
Sub-categoria de Despesas </strong>.</span></a></font>&nbsp;&nbsp;&nbsp;&nbsp;
<font class="texto" ><a class="texto"  href="ListarDespRec.jsp">ORCAMENTO TOTAL</a></font>&nbsp;&nbsp;&nbsp;&nbsp;
<font  class="texto"><a class="texto"  href="TelaReceitas.jsp">RECEITAS</a></font>&nbsp;&nbsp;&nbsp;&nbsp;
<font class="texto" ><a class="texto"  href="Despesas.jsp">DESPESAS</a></font>&nbsp;&nbsp;&nbsp;&nbsp;
<font  class="texto"><a class="texto"  href="Grafico.jsp" class="texto">GERAR GR&Aacute;FICO</a> </font>&nbsp;&nbsp;&nbsp;&nbsp;
<font  class="texto"><a class="texto"  href="GerarRelatorio.jsp" class="texto"> GERAR RELAT&Oacute;RIO</a></font> &nbsp;&nbsp;&nbsp;&nbsp;               
<font  class="texto"><a class="texto"  href="index.jsp">SAIR >></a></font>&nbsp;&nbsp;&nbsp;&nbsp;


</center>
</div>

<div class="style3">
    
    
    
<center>
                <h3>LISTA DAS CATEGORIAS</h3>
            </center><br/>
                
                 <div class="">
            <center>    
            <table border="1">
                <tr>
                    <th>ID</th>
                    <th>Nome Categoria</th>
                    <th>Alterar</th>
                    <th>Excluir</th>
                 </tr>
                 <c:forEach var="categoria"  items="${categorias}">
                     <tr>
                         <td>${categoria.id_categoria}</td>   
                         <td>${categoria.nome_categoria}</td>
                         <td><a href="ServletCategoria?acao=alterar&id_categoria=${categoria.id_categoria}"><center><img src="alterar1.gif" width="25" height="25" /></center></a></td>
                         <td><a href="ServletCategoria?acao=excluir&id_categoria=${categoria.id_categoria}"><center><img src="excluir1.gif" width="25" height="25"/></center></a></td>
                     </tr>
                </c:forEach> 
            </table>
            </center>

    <form > 
    <center>
        <h3>Despesas</h3>
    </center><br/>
    
    <center>
        Mês: <select name="mes">
            <option>01</option>
            <option>02</option>
            <option>03</option>
            <option>04</option>
            <option>05</option>
            <option>06</option>
            <option>07</option>
            <option>08</option>
            <option>09</option>
            <option>10</option>
            <option>11</option>
            <option>12</option>
        </select>
        <br/>
    </center>
    <br/>
    
    
</div>



</body>
</html>
